#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, x, y;
  cin >> a >> b >> x >> y;
  if (a * y == b * x)
    cout << "=";
  else if (a * y > b * x)
    cout << ">";
  else
    cout << "<";
  return 0;
}